package com.gxa.eshops.admin.thread;

/**
 * @program: IntelliJ IDEA
 * @description:
 * @author: Mr.Wang
 * @create: 2022-07-07 15:23
 **/
public class UserThreadLocal {
    private static final ThreadLocal<Object> THREAD_LOCAL = new ThreadLocal<>();

    public static void set(Object object){
        THREAD_LOCAL.set(object);
    }
    public static Object get() {
        return THREAD_LOCAL.get();
    }
    public static void remove() {
        THREAD_LOCAL.remove();
    }
}
